<template>
<div class="GoodsListArr">
       <ul>
           <li v-for="item in GoodsListArr" :key="item.id">
           <!-- <img :src="item.list_pic_url" alt=""> -->
           <img v-lazy="item.list_pic_url" alt="">
           
           <p>{{item.name|sliceTitle1}}</p>
           <span>{{item.retail_price|formatMoney}}</span>
           </li>
       </ul>

</div>
</template>

<script>
export default {
name: 'CategoryList',
data() {
return {

}
},
props:['GoodsListArr'],
components: {

},
methods: {

},
created() {

},
}
</script>

<style lang='less' scoped>
.GoodsListArr{
    font-size: 14px;
    text-align: center;
    font-weight: bolder;
    ul{
        display: flex;
        justify-content: space-between;
        flex-wrap:wrap ;
        li{
            width: 46%;
            margin-left: 5px;
            margin-right: 5px;
            img{
                display: block;
                width: 100%;
            }
            span{
                display: block;
                height: 25px;
                line-height: 25px;
                color: rgb(155, 9, 9);
            }
            p{
                height: 25px;
                line-height: 25px;
            }
        }
    }
}
</style>